﻿using System;
namespace AntBot
{
	public class Timer
	{
		private DateTime startTime;
		public double TimeElapsed { get; private set; }
		public void Start()
		{
			startTime = DateTime.Now;
		}

		public double GetTime()
		{
			TimeElapsed = (DateTime.Now - startTime).TotalMilliseconds / 1000.0;
			return TimeElapsed;
		}
	}
}
